<?php
include_once("../include/common.inc.php");
$sqla = "SELECT * FROM `fm_sys_code` WHERE PARENT_NO='JEWELRY'";
$data = $dsql->fmSelect($sqla);
//echo var_dump($data);
$info = '';
foreach($data as $d){
    $info .= "<info><name>".$d['CODE_NAME']."</name><no>".$d['CODE_NO']."</no></info>";
    
    
}
echo "<root>".$info."</root>";
?>